﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAL;
using System.Data;
namespace BLL
{
    public class BANGCAPBUS
    {
        public static DataTable GetListBC()
        {
            BANGCAPDAO b = new BANGCAPDAO();
            return b.GetListBC();
        }
		public static List<BANGCAP> GetListBCS()
		{
			BANGCAPDAO b = new BANGCAPDAO();
			return b.GetListBCS();
		}
        public static String CreateNewID()
        {
            BANGCAPDAO b = new BANGCAPDAO();
            return b.CreatenewId();
        }
        public static bool INSERT(BANGCAP bc)
        {
            BANGCAPDAO b = new BANGCAPDAO();
            return b.INSERT(bc);
        }
        public static bool UPDATE(BANGCAP bc)
        {
            BANGCAPDAO b = new BANGCAPDAO();
            return b.UPDATE(bc);
        }
        public static bool DELETE(BANGCAP bc)
        {
            BANGCAPDAO b = new BANGCAPDAO();
            return b.DELETE(bc);
        }
    }
}
